package com.suse.service.admin.cms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suse.service.admin.cms.model.entity.Ad;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suse.service.admin.cms.model.vo.AdVo;

/**
 * <p>
 * 广告推荐 Mapper 接口
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-17
 */
public interface AdMapper extends BaseMapper<Ad> {

    /**
     * 获取广告推荐列表(分页)
     * @param page 分页
     * @return 分页
     */
    Page<AdVo> getAdList(Page<AdVo> page);

}
